AnimationsGive an object named animations - which picture, which frames, how long each lasts, how it plays - then start one with animation_play("walk"). A frame can play a sound, send a named event, and carry attack, body and push boxes.
draw_effect_startEvery picture and bar drawn from here until draw_effect_stop wears a sprite effect: draw_sprite, draw_rect_fill and draw_rect in a HUD or a menu pulse, wobble, tint or turn the way an object would. It is ambient, like text_effect_start is for words. Call it every frame, in a Draw GUI event or in a script one calls, before the draw calls it should reach.
draw_rectDraws a 1-pixel-thick, axis-aligned outline (never filled) w wide and h tall, with its top-left corner at (x, y) - world space, scrolling with the camera the same way draw_rect_fill does. Inside a Draw GUI event it is fixed to the screen instead, and (x, y) counts from the screen’s top-left pixel.
draw_rect_fillDraws a filled, axis-aligned rectangle w wide and h tall, with its top-left corner at (x, y) - world space (the shared camera is attached, same as draw_sprite). So draw_rect_fill(x, y, 10, 4, c) covers x to x + 10 across and y to y + 4 down. Inside a Draw GUI event it is fixed to the screen instead, and (x, y) counts from the screen’s top-left pixel, so draw_rect_fill(0, 0, screen_width(), screen_height(), COLOR_BLUE) fills the whole screen. A real sprite, not paint: see the "On the GBA" note for exactly what that costs.
draw_sprite_3dLike draw_sprite, but the picture curves away from you, as if it were wrapped round a barrel or tipped back like a sign: the top and bottom of it shrink back and the middle stays full size. shape picks the look: SPRITE_BULGE, SPRITE_LEAN_BACK and SPRITE_LEAN_FORWARD choose which part of the picture shrinks, and SPRITE_DRUM fixes a lens on the middle of the screen and the sprite slides through it. depth says how much, from 1 to 3 (1 is gentle, 3 is deep); for SPRITE_DRUM it is how tight the lens is, from 1 to 6. 0 draws the sprite flat.
palette_colorA color of a palette you already have, to draw a rectangle in: palette_color(hud_colors, 5) is the color in the sixth place (slot 5, counting from 0) of the palette hud_colors. Use it where a COLOR_ name goes: draw_rect_fill(10, 10, 40, 6, palette_color(hud_colors, 5)). slot is 0 to 15.
sprite_color_lookGives ONE color of a sprite a different color on every row of the screen, so a flame can run from yellow to red or a crystal from white to blue. EVERY picture that uses that color changes, not only one object. spr is the sprite, color_number is which of its colors (1 and up), look is one of the SPRITECOLOR_ constants, strength (1 to 3) is how rich the colors are, and speed is how fast they slide down the screen. SPRITECOLOR_NONE turns it off.
sprite_distortDraws this object’s picture narrower on some rows, so it looks like a barrel, an hourglass, a sign tipped away from you or a wobbling jelly. look is one of the DISTORT_ constants, strength (1 to 3) is how much narrower the narrowest row is, and speed is how fast a DISTORT_WAVE travels down the picture (the other looks ignore it). DISTORT_NONE turns it off.
sprite_effect_changeChanges the sprite effect playing on this object into another one over so many frames. A frozen tint turns into a burning one, a gentle wobble turns into a dizzy one. sprite_effect_change(nothing, frames) fades the effect away and then stops it; with no effect playing, the new one fades in. With frames at 0 it happens at once, like sprite_effect_start and sprite_effect_stop. Call it from the object’s own event, once.
sprite_effect_startPlays a sprite effect on this object only: a hit flash, a freeze tint, a dizzy wobble, a ghost. A sprite effect is made in the Overlay Effects tab, like a screen effect, but it changes one object instead of the whole screen. Starting another one on the same object replaces the first. sprite_effect_start(nothing) stops it.
sprite_effect_strengthSets how strong a sprite effect plays on this object, from 0 to 100 percent (100 is the effect as you made it). The percent multiplies the strength of every track, on top of the track’s own way of moving: a pulse still rises and falls as it was made, only less far; 0 shows nothing. Call it from any event, a Step event included: change the number a little each frame (tween_to does it for you) and the effect fades in, reaches full strength and settles down to nothing. It does nothing when effect is not the effect playing on this object.